home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000407_anthonypieper@cs.com_Tue Nov 11 11:09:20 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with Kermit spawned from Expect script sending files
Date: 11 Nov 2003 04:37:52 -0800
Organization: http://groups.google.com
Lines: 28
Message-ID: <f0bb0f39.0311110437.62628a03@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1068554272 30322 127.0.0.1 (11 Nov 2003 12:37:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Nov 2003 12:37:52 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14663
Arthur Marsh <arthur.marsh@internode.on.net> wrote in message news:<3fafafd0$1@yorrell.saard.net>...
> newexpectuser wrote:
>
> >> (wait for shell prompt)
> >> lineout "kermit -x" ; Start Kermit server
> >> rcd somedirectory ; CD to some directory on the host
> >
> > I thought this command changed the directory on the remote system. I
> > have most of this working (including connecting now), however once I
> > get connected to the remote server, I want to change into a specific
> > directory on the remote server and I tried the rcd and do a ls -ltr
> > command, but it gives me my directory where I execute the script
> > (local machine) ?
>
> try using REMOTE DIRECTORY or its shortened form, RDIR
I tried the RDIR and then a ls command to make sure i was in the
remote directory, but I got the local directory listing, unless my ls
command only shows the local directory ?..I am also running this first
from a command line in Unix using ./script.sh.
>
> >
> >> send /delete somefile ; "move" a file from here to there
> >> bye ; Shut down and log out the server
> >> exit ; Exit from local Kermit program
> >>
> >>- Frank
>
> Arthur.